package com.totoro.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author TOTORO
 * @date 2021/8/18 12:33
 * 购买过的店铺o=pj
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BuyShop extends PublicAttr{
    private int id;
    private int uid;
    private int sid;
    private int pid;
    private Product product;

    public BuyShop(int uid, int sid, int pid) {
        this.uid = uid;
        this.sid = sid;
        this.pid = pid;
    }
}
